var express = require('express');
var router = express.Router();

const {addRemark,searchRemark,updateRemark,deleteRemark} = require('../controllers/bremark')
//新增评论
router.post('/',addRemark);
//获取评论
router.get('/',searchRemark);
//修改评论
router.put('/',updateRemark);
//删除评论
router.delete('/', deleteRemark);
module.exports = router;
